package cn.hua.trip.base.mapper;

import cn.hua.trip.base.domain.Travel;
import cn.hua.trip.base.query.TravelCommendQueryObject;
import cn.hua.trip.base.query.TravelQueryObject;

import java.util.List;
import java.util.Map;

public interface TravelMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Travel record);

    Travel selectByPrimaryKey(Long id);

    List<Travel> selectAll();

    int updateByPrimaryKey(Travel record);

    List<Travel> queryForList(TravelQueryObject qo);

    void changeState(Travel travel);

}